//
//  FBDUpload.h
//  AVPlayerTest
//
//  Created by feng on 16/9/27.
//  Copyright © 2016年 冯宝东. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface FBDUpload : NSObject<NSURLSessionDelegate>
@property (nonatomic, strong) NSURLSession *session;
/**
 用路径初始化上传对象

 @param filePath 文件路径

 @return 上传对象
 */
-(instancetype)initWithUploadFilePath:(NSString*)filePath withMIME:(NSString*)MIME remotePath:(NSString*)remotePath;

/**
 用二进制初始化上传对象

 @param fileData 二进制

 @return 上传对象
 */
-(instancetype)initWithUploadFileData:(NSData*)fileData withMIME:(NSString*)MIME remotePath:(NSString*)remotePath;





@end
